<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>App1976管理系统</title>
<!--                       CSS                       -->
<?php echo $this->load->view('admin/script_css');?>
</head>
<body>
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <?php echo $this->load->view('admin/sidebar');?>
  <!-- End #sidebar -->
  <div id="main-content">
  
    <!-- Main Content Section with everything -->
    <?php echo $this->load->view('admin/top');?>
    <!-- End .shortcut-buttons-set -->
    <div class="clear"></div>
    <!-- End .clear -->
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>添加新闻</h3>
        <ul class="content-box-tabs">
          <!--li><a href="#tab1" class="default-tab">表格</a></li-->
          <!-- href must be unique and match the id of target div -->

        </ul>
        <div class="clear"></div>
      </div>
      
      <!-- End .content-box-header -->
      <div class="content-box-content">
      
        <div class="tab-content default-tab" id="tab1">
          <!-- 提示框 -->
          <div class="notification success png_bg"> <a href="#" class="close"><img src="/resources/admin/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
      <div> 请认真填写下面所有信息。 </div>
    </div>
    </div><!-- 提示框 End -->

    <!--表格-->
        <form action="<?php echo site_url('admin/home/news_insert_go');?>" method="post">
            <fieldset>
            <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --><!--small>请注意填写</small-->
            
            <p>
              <label>标题：</label>
              <input class="text-input medium-input datepicker" type="text" name="title" value=""/>
              <span class="input-notification success png_bg">填写正确</span>
           </p>
            
            <p>
              <label>来源：</label>
              <input class="text-input medium-input datepicker" type="text" name="source" value=""/>
              <span class="input-notification success png_bg">填写正确</span>
           </p>
           
           <p>
              <label>作者：</label>
              <input class="text-input medium-input datepicker" type="text" name="author" value=""/>
              <span class="input-notification success png_bg">填写正确</span>
           </p>
           
           <p>
              <label>关键词：</label>
              <input class="text-input medium-input datepicker" type="text" name="keyword" value=""/>
              <span class="input-notification success png_bg">填写正确</span>
           </p>
           
            <p>
              <label>添加日期</label>
              <input class="text-input small-input" type="text" name="uptime" value="<?php echo date('Y年n月d日')?>" disabled="disabled"/>
              <span class="input-notification error png_bg">只读模式，不可编辑</span>
              </p>
              
<!--            <p>-->
<!--              <label>是否推荐</label>-->
<!--              <input type="radio" name="recommend" />是-->
<!--              <input type="radio" name="recommend" checked="checked" />否 -->
<!--              <span class="input-notification success png_bg">填写正确</span>-->
<!--            </p>-->
            
<!--编辑器-->

	        <script charset="utf-8" src="/resources/kindeditor/kindeditor.js"></script>
			<script charset="utf-8" src="/resources/kindeditor/lang/zh_CN.js"></script>
			<script>
				KindEditor.ready(function(K) {
					var editor1 = K.create('textarea[name="content"]', {
						//allowFileManager : true
					});
					prettyPrint();
				});
			</script>
            <p>
              <label>内容</label>
              <textarea name="content" style="width:99%;height:400px;visibility:hidden;"></textarea>
            </p>
            
 <!--编辑器 End-->  
          
            <p>
              <input class="button" type="submit" name="submit" value="提 交" />
            </p>
            
            </fieldset>
            
            <!-- End .clear -->
          </form>
          <!--表格 End-->

      </div>
      
      <!-- End .content-box-content -->
    </div>

    <!-- End .content-box -->

    
    <!-- Start Notifications -->
    <?php echo $this->load->view('admin/footer');?>
    <!-- End #footer -->
  </div>
  <!-- End #main-content -->
</div>
</body>
<!-- Download From www.exet.tk-->
</html>
